export interface RequestOptions {
  showLoading?: boolean;
  showError?: boolean;
}

export interface BaseResponse<T> {
  code: 200 | 500; // 响应码
  msg: string; // 消息
  data: T; // 返回的数据
}

/** 分页参数封装 */
export interface PageData<T> {
  list: T;
  page: number;
  total: number;
}